package com.ruoyi.system.mapper;

import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.InvestigationQuestion;
import com.ruoyi.system.domain.vo.InvestigationQuestionVo;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * 问卷题目Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-13
 */
public interface InvestigationQuestionMapper extends BaseMapperPlus<InvestigationQuestionMapper, InvestigationQuestion, InvestigationQuestionVo> {

    List<InvestigationQuestion> getByInvestigationId(@Param("id") Long id);

    void deleteByInvestigationId(@Param("id") Long id);

    void deleteByInvestigationIds(@Param("ids") Collection<Long> ids);
}
